home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_08_02
/
8n02034a
< prev
next >
Wrap
Text File
|
1990-02-28
|
510b
|
21 lines
*****Listing 1*****
Example 1. An Example of MEL Input for a Hydraulic Analysis Program.
(Note that tokens will be unique to each application.)
title, 'Example Problem Illustrating MEL';
fluid, "water"
density = 62.4 (lbm/ft3),
viscosity = 1 (cp);
node, 1, pressure = 8.67 (psi); "20 ft of water"
branch, 100, from_node = 1, to_node = 2;
pipe,
length = 100 (ft),
id = 6 (in),
material = steel;
end_of_branch;
node, 2, pressure = 6.5 (psi); "15 ft of water"
next;